package com.example.liwushuo.bar;

import com.example.liwushuo.MoreActivity;
import com.example.liwushuo.MoreInfoActivity;
import com.example.liwushuo.R;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.TextView;
//点击更多 显示SlidingMenu
public class SelfBar extends Fragment {

	private TextView textView;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View view = inflater.inflate(R.layout.ba_selfr, null);
		textView=(TextView) view.findViewById(R.id.more);
		textView.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(getActivity(), MoreActivity.class);
				startActivity(intent);
				
			}
		});
		return view;

	}
}
